package ee.reino.soundFiles;

import java.io.IOException;
import java.util.Scanner;

public class Main 
{
	public static void main(String[] args) throws IOException {
//		SoundFilePlayer soundFilePlayer = new SoundFilePlayer();
//		soundFilePlayer.playSound("C:/Juno_veebirakenduste_disain_ja_arhitektuur_2/SoundFiles/be_cool.wav");
//		LoopSound loopSound = new LoopSound();
//		LoopSound.playSound("C:/Juno_veebirakenduste_disain_ja_arhitektuur_2/SoundFiles/be_cool.wav");
		while (true)
		{
			char temp = (char)System.in.read();
			System.out.printf("\nYou Entered: " + temp + "\n");
			
			SoundPlayer2 soundPlayer2 = new SoundPlayer2();
			soundPlayer2.playSound("C:\\Juno_veebirakenduste_disain_ja_arhitektuur_2\\SoundFiles\\beep-5.wav");
		}
	}
}
